---
title: WRITER
---

All functionality related to WRITER


>This page covers how to use the [WRITER](https://writer.com/) ecosystem within LangChain. For further information see Writer [docs](https://dev.writer.com/home/introduction).
>[Palmyra](https://writer.com/blog/palmyra/) is a Large Language Model (LLM) developed by `WRITER`.
>
>The [Writer API](https://dev.writer.com/api-guides/introduction) is powered by a diverse set of Palmyra sub-models with different capabilities and price points.

## Installation and Setup

Install the integration package with
<CodeGroup>
```bash pip
pip install langchain-writer
```

```bash uv
uv add langchain-writer
```
</CodeGroup>

Get a WRITER API key and set it as an environment variable (`WRITER_API_KEY`)

## Chat model

```python
from langchain_writer import ChatWriter
```
See [details](/oss/integrations/chat/writer).


## PDF Parser

```python
from langchain_writer.pdf_parser import PDFParser
```
See [details](/oss/integrations/document_loaders/parsers/writer_pdf_parser).

## Text splitter

```python
from langchain_writer.text_splitter import WriterTextSplitter
```
See [details](/oss/integrations/splitters/writer_text_splitter).

## Tools calling

### Functions

Support of basic function calls defined via dicts, Pydantic, python functions etc.

### Graphs

```python
from langchain_writer.tools import GraphTool
```
See [details](/oss/integrations/tools/writer).

### Web search tool

```python
from langchain_writer.tools import WebSearchTool
```
See [details](/oss/integrations/tools/writer).

### Translation tool

```python
from langchain_writer.tools import TranslationTool
```
See [details](/oss/integrations/tools/writer).
